package cn.itcast.mapper;

import cn.itcast.pojo.account;
import cn.itcast.pojo.accountExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface accountMapper {
    int countByExample(accountExample example);

    int deleteByExample(accountExample example);

    int deleteByPrimaryKey(Integer accountId);

    int insert(account record);

    int insertSelective(account record);

    List<account> selectByExample(accountExample example);

    account selectByPrimaryKey(Integer accountId);

    int updateByExampleSelective(@Param("record") account record, @Param("example") accountExample example);

    int updateByExample(@Param("record") account record, @Param("example") accountExample example);

    int updateByPrimaryKeySelective(account record);

    int updateByPrimaryKey(account record);

    List<account> selectHorsemanAccount();

    account selectByAccountOpenid(String openId);

    //商家模块修改账户金额用户商家通用
    int updateaccountmoney(account account);


}